const SWITCH_CDN_ADDRESS = "SWITCH_CDN_ADDRESS";

//清空acg筛选tags
class ACGCleanTags {}

//acg搜索点击搜索刷新
class ACGOnSubmmitSearch {
  String searchKey = '';
  ACGOnSubmmitSearch({this.searchKey = ''});
}

//acg重新筛选后请求数据
class ACGFilterReSearch {}

//刷新动漫详情是否显示顶部
class ComicsShowToTop {
  String id = '';
  bool show = false;
  ComicsShowToTop({this.id = '', this.show = false});
}

//刷新动漫详情是否显示顶部
class CollectEvent {
  bool collect;
  CollectEvent({this.collect = false});
}

class CollectStatusModel {
  String? id; // 点赞，收藏id值
  String? type;
  int? uid; // 用户关注 uid
  bool? isCollected; // 这个有值，是收藏状态的处理
  bool? isLiked; // 这个有值，是点赞状态的处理
  bool? isFollowed; // 这个有值，是关注状态的处理
  CollectStatusModel({
    this.id,
    this.uid,
    this.isCollected,
    this.type,
    this.isLiked,
    this.isFollowed,
  });
}

class MediaBuyStatusModel {
  String? id;
  bool isAllBuy; // true 全集购买， false 单集购买
  MediaBuyStatusModel(this.isAllBuy, {this.id});
}

class ReLoginEvent{}

class YinseinnerModel {
  String? routeName;
  String? id;
  String? type;
  YinseinnerModel({this.routeName, this.id, this.type});
}

class UpdateWalletEvent {
  UpdateWalletEvent();
}

class CollectEditEvent {
  bool isEdit;
  CollectEditEvent(this.isEdit);
}

// acg菜单显示顶部 事件
class AcgShowTopEvent {
  bool isShowTop;
  AcgShowTopEvent(this.isShowTop);
}

// acg菜单顶部状态，点击回到顶部事件
class AcgScrollToTopEvent {
  bool isTop;
  AcgScrollToTopEvent(this.isTop);
}

class UpdateMessageEvent {
  UpdateMessageEvent();
}

//切换到小说板块
class ToggleNovelEvent {
  int? index;
  ToggleNovelEvent({this.index = 0});
}

// 长视频菜单显示
class LongVideoMenuEvent {
  LongVideoMenuEvent();
}

class TabIndexChanged {
  int? index;
  TabIndexChanged({this.index = 0});
}

//acg目录修改
class ACGMenuChanged {
  int? index;
  ACGMenuChanged({this.index = 0});
}

//发现刷新
class FindRefresh {
  FindRefresh();
}
